/*------------------------------------*\
    #LOGO
\*------------------------------------*/

@import '../../../sass/scss/core.scss';

pl-logo {
  align-self: center;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 100;
  padding: 0;
  min-height: 44px;
  min-width: 44px;
}

.pl-c-logo {
  width: auto;
  flex-grow: 1;
  padding: 0.5rem 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;

  @media screen and (min-width: 400px) {
    padding: 0.5rem 12px;
  }

  outline: 0;
  text-transform: lowercase;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1;
  margin: 0;
  transition: color 0.2s ease;

  &:focus {
    outline: 1px dotted;
    outline-offset: -1px;
  }
}

.pl-c-logo__img {
  display: block;
  height: 100%; // fix to address scaling issue in ie 11 on windows 7
  max-width: 100%;
  max-height: 23px;

  &:not(:last-child) {
    margin-right: 0.25rem;
  }
}

.pl-c-logo__text {
  display: flex;
  white-space: nowrap;
}
